package cn.com.api.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.com.api.entity.ApiU_circle_member;
import cn.com.api.mapper.base.U_circle_memberMapperBase;
import cn.com.util.PageInfo;

//DAO
public interface ApiU_circle_memberMapper extends U_circle_memberMapperBase {

	// 新增对象后返回记录ID
	public int U_circle_memberInsertion(ApiU_circle_member u_circle_member);

	public List<ApiU_circle_member> getcirclemembersListPage(@Param("map") Map condition,
			@Param("page") PageInfo pageInfo);

	public Integer getcircle_addedcount(@Param("user_id") String user_id);

	public void updatecirclememberinfo(@Param("map") Map condition);

	// 获取圈子中有多少人
	public Integer getcircle_membercount(@Param("circle_id") String circle_id);

	public void insertcirclememberList(List<ApiU_circle_member> circlememberlist);

	public ApiU_circle_member getcirclememberInfo(@Param("map") Map condition);

}
